package com.bw.BaseImage;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.widget.ImageView;

import com.bw.BaseImage.common.ImageOption;

public interface IImageLoader {
    void loadImage(Context context, String url, ImageView view, ImageOption option);
    void loadImage(Context context, Drawable drawable, ImageView view, ImageOption option);
    void loadImage(Context context, Bitmap bitmap, ImageView view, ImageOption option);
    void loadImage(Context context, byte[] content, ImageView view, ImageOption option);


    void loadImageCircle(Context context, String url, ImageView view, ImageOption option);
    void loadImageCircle(Context context, Drawable drawable, ImageView view, ImageOption option);
    void loadImageRouter(Context context, String url, ImageView view, ImageOption option,Integer radian);
}
